package com;

import java.sql.ResultSet;
import java.sql.SQLException;

//import com.mysql.jdbc.ResultSet;

public class SalesUserBean {
	
	private int creditlimit;
	private int prodquantity;
	private String date,prodname,customername,customercode,ordnumber,invoicenum,custinvoicenum;
	private double taxationcat,prodrate,netamount,taxamount,transportcharges,totalamount;
	
	public String getSalesOrderNumber()
	{ 
		return ordnumber; 
	} 
	public void setSalesOrderNumber(String newordnumber) 
	{ 
		ordnumber = newordnumber; 
		}
	
	public String getInvoiceNumber()
	{ 
		return invoicenum; 
	} 
	public void setInvoiceNumber(String newinvoicenum) 
	{ 
		invoicenum = newinvoicenum; 
	}
	
	public String getSalesDate()
	{ 
		return date; 
	} 
	public void setSalesDate(String newDate) 
	{ 
		date = newDate; 
		}
	
	public String getCustomerName()
	{ 
		return customername; 
	} 
	public void setCustomerName(String newcustomername) 
	{ 
		customername = newcustomername; 
		}

	public String getCustomerCode()
	{ 
		return customercode; 
	} 
	public void setCustomerCode(String newcustomercode) 
	{ 
		customercode = newcustomercode; 
		}
	
	public String getCustomerInvoiceNumber()
	{ 
		return custinvoicenum; 
	} 
	public void setCustomerInvoiceNumber(String newcustinvoicenum) 
	{ 
		custinvoicenum = newcustinvoicenum; 
		}
	
	public String getProductName()
	{ 
		return prodname; 
	} 
	public void setProductName(String newproductname) 
	{ 
		prodname = newproductname; 
		}
	
	public int getProductQuantity()
	{ 
		return prodquantity; 
	} 
	public void setProductQuantity(int newprodquantity) 
	{ 
		prodquantity = newprodquantity; 
		}
	
	public double getProductRate()
	{ 
		return prodrate; 
	} 
	public void setProductRate(double newproductrate) 
	{ 
		prodrate = newproductrate; 
		}
	
	public double getNetAmount()
	{ 
		return netamount; 
	} 
	public void setNetAmount(double newnetamount) 
	{ 
		netamount = newnetamount; 
		}
	
	public double getTaxationCategory()
	{ 
		return taxationcat; 
	} 
	public void setTaxationCategory(double newtaxationcat) 
	{ 
		taxationcat = newtaxationcat; 
		}
	
	public double getTaxAmount()
	{ 
		return taxamount; 
	} 
	public void setTaxAmount(double newtaxamount) 
	{ 
		taxamount = newtaxamount; 
		}
	
	public double getTransportCharges()
	{ 
		return transportcharges; 
	} 
	public void setTransportCharges(double newtransportcharges) 
	{ 
		transportcharges = newtransportcharges; 
		}
	
	public double getTotalAmount()
	{ 
		return totalamount; 
	} 
	public void setTotalAmount(double newtotalamount) 
	{ 
		totalamount = newtotalamount; 
		}
	
	public int getCreditLimit()
	{ 
		return creditlimit; 
	} 
	public void setCreditLimit(int newcreditlimit) 
	{ 
		creditlimit = newcreditlimit; 
		}
	
/*	public SalesUserBean (ResultSet rs) throws SQLException
	   {
		invoicenum=rs.getString("innum");
		date=rs.getString("date");
		customername=rs.getString("scname");
		customercode=rs.getString("sccode");
		prodname=rs.getString("stname");
		prodquantity=rs.getInt("pquantity");
		prodrate=rs.getDouble("prate");
		netamount=rs.getDouble("samount");
		taxationcat=rs.getDouble("staxcat");
		taxamount=rs.getDouble("stamount");
		transportcharges=rs.getDouble("strans");
		totalamount=rs.getDouble("stota");
		creditlimit=rs.getInt("scredlim");
		
	   }
	   */	
}


